
#include "pollserver.hpp"


int main(int argc , char* argv[])
{
    if(argc != 2)
    {
        exit(1);
    }

    uint16_t port = std::stoi(argv[1]);

    std::shared_ptr<Pollserver> svr(new Pollserver(port));

    svr->Init();
    svr->Run();

    return 0;
}